﻿using System.IO;

namespace xycn.pluginsupport.ControllerPlugins
{
    /// <summary>
    /// 下载文件信息
    /// </summary>
    public class DownloadFile
    {
        /// <summary>
        /// 文件长度
        /// </summary>
        public long fileLength = 0;

        /// <summary>
        /// 文件名
        /// </summary>
        public string fileName = "";

        /// <summary>
        /// 文件续传起始位置
        /// </summary>
        public int offsetPosition = 0;

        /// <summary>
        /// 供下载的文件流,该流会由框架自动进行释放
        /// </summary>
        public Stream fileStream = null;
    }
}
